﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SoccerSimulator5000
{
    public partial class StandingsForm : Form
    {
        public StandingsForm()
        {
            InitializeComponent();
        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {
            //Game.season.seasonStandings.standings.Sort();
            Game.season.seasonStandings.SortStandings();
            Game.season.seasonStandings.Draw(e.Graphics, 400, 50);
        }

        private void StandingsForm_Activated(object sender, EventArgs e)
        {
            panel1.Invalidate();
        }
    }
}
